package com.ihr360.payroll.service.salarytax.impl;

import com.ihr360.authority.sharing.annonation.AccessControl;
import com.ihr360.payroll.dao.SalaryTaxReposity;
import com.ihr360.payroll.model.dto.salary.tax.SalaryTax;
import com.ihr360.payroll.service.salarytax.SalaryTaxService;
import com.ihr360.rest.reposity.SimpleRestReposity;
import com.ihr360.rest.service.AbstractSimpleRestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@AccessControl(disableAll = true)
public class SalaryTaxServiceImpl extends AbstractSimpleRestServiceImpl<SalaryTax,Long> implements SalaryTaxService {

    @Autowired
    private SalaryTaxReposity salaryTaxReposity;

    @Override
    public SimpleRestReposity<SalaryTax, Long> getSimpleRestReposity() {
        return salaryTaxReposity;
    }
}
